<!-- src/views/Home.vue -->
<template>
    <div>
      <h1>Home Page</h1>
      <p>Count: {{ counter.count }}</p>
      <button @click="counter.increment">Increment</button>
      <router-link to="/about">Go to About</router-link>
    </div>
  </template>
  
  <script setup lang="ts">
  import { useCounterStore } from '../store/useCounterStore'
  
  const counter = useCounterStore()
  </script>
  